package org.dromara.system.domain.vo;

import org.dromara.system.domain.WbCities;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * 城市视图对象 wb_cities
 *
 * @author Lion Li
 * @date 2024-05-28
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = WbCities.class)
public class WbCitiesVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 城市id
     */
    @ExcelProperty(value = "城市id")
    private Long cityId;

    private String id;

    /**
     * 城市名称
     */
    @ExcelProperty(value = "城市名称")
    private String cityName;

    private String name;


    /**
     * 所属省份
     */
    @ExcelProperty(value = "所属省份")
    private Long provinceId;


    /**
     * 区县列表
     */
    @ExcelProperty(value = "区县列表")
    private List<WbDistrictsVo> children;
}
